<template>
  <div class="notice">
    <h1>This is an myself-component page</h1>
    <el-button @click="openNotice">openNotice</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {
    openNotice() {
      this.$notice({
        title: "title 555",
        content: " content 555",
        // duration: 1000,
        close: function() {
          console.log("close ");
        },
      });
    },
  },
};
</script>
